@echo off

Echo "Copy dependencies"
copy bin\%1\sh*.dll deploymentfiles\*.* /y
copy ..\..\SharePointImport\bin\%1\sh*.dll deploymentfiles\*.* /y
copy ..\..\MOSSExtractor\MOSSExtractor\bin\%1\sh*.dll deploymentfiles\*.* /y
copy ..\..\MOSSExtractor\GotDotNet.SharePointExtractor.Common\bin\%1\sh*.dll deploymentfiles\*.* /y
copy ..\..\SharePointImport\SharePoint.Import.Export.Transformer\bin\%1\s*.dll deploymentfiles\*.* /y
copy ..\..\SharePointImport\SharePoint.Import.Export.Transformer\bin\%1\inter*.dll deploymentfiles\*.* /y
copy ..\..\SharePointImport\Importer\bin\%1\s*.dll deploymentfiles\*.* /y
copy ..\..\SharePointImport\helpers\bin\%1\s*.dll deploymentfiles\*.* /y

if EXIST package\MigrationSuite.wsp del package\MigrationSuite.wsp

makecab /f DeploymentFiles\BuildSharePointPackage.ddf
